@extends('Home.layout.layout')
@section('con')
<div class="container">
	<div class="col-md-10 col-xs-12 col-md-offset-1">
		<ol class="breadcrumb" style="background-color:#fff;">
			<li><a href="{{url('/homes/index')}}">首页</a></li>
			<li class="active" style="color:#333;">志愿者及捐助</li>
		</ol>
	</div>
</div>

<div class="container">
	<div class="col-md-10 col-xs-12 col-md-offset-1">
		<div class="panel panel-info">
			<div class="row" style="margin-left:20px;">
				<div class="col-md-8 col-xs-10" style="margin-right:30px;">
					<div class="row" style="text-align:center;border-bottom:1px solid #C9C9C9;">
						<h3 style="line-height: 60px;">{{$activities->title}}</h3>
						<p>{{date('Y-m-d H:i',$activities->time)}}&nbsp;|&nbsp;发布者:{{$activities->pauthor}}&nbsp;|&nbsp;原作者:{{$activities->author}}</p>
					</div>
					<div class="row" style="margin-top:40px;overflow:auto;">{!!$activities->content!!}</div>
			  	</div>
			  	<div class="col-md-3 col-xs-10">
			  		<a style="text-decoration: none;" href="{{url('/home/pcontent/map')}}">
					<div class="row">
					    <h5 style="font-size:18px;color:#006cc2; margin-left:25%;">仁爱项目地图</h5>
					    <img src="{{asset('/public/Home/images/map.png')}}" width=100% style="border:0px;">
					</div>
					</a>
					<div class="row" style="margin-top:20px;border:1px solid #C9C9C9;overflow:hidden;">
						<p style="text-align:right;"><a style="text-decoration: none;" href="{{url('/home/ptype/index',['id'=>$ptype->id])}}">查看更多</a></p>
						<ul style="margin-left:20px;">
						@foreach($pcons as $k => $v)
							<li><a href="{{url('/home/pcontent/index',['id'=>$v->id])}}" style="color:#333;">{{$v->title}}</a></p></li>
						@endforeach
						</ul>
					</div>
					<div class="row" style="margin-top:40px;border:1px solid #C9C9C9;overflow:hidden;">
						<p style="text-align:right;"><a style="text-decoration: none;" href="{{url('/home/loveser/index')}}">查看更多</a></p>
						<ul style="margin-left:20px;">
						@foreach($acts as $k => $v)
							<li><a href="{{url('/home/loveser/act',['id'=>$v->id])}}" style="color:#333;">{{$v->title}}</a></p></li>
						@endforeach
						</ul>
					</div>
			  	</div>	
			</div>
		</div>
	</div>
</div>
@endsection